package com.hyt.it.ogt.kq.service.gov.mapper.admission;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hyt.it.ogt.kq.service.gov.model.dto.admission.ExportTicketViewDTO;
import com.hyt.it.ogt.kq.service.gov.model.dto.admission.ExportTicketViewItemDTO;
import com.hyt.it.ogt.kq.service.model.entity.admission.ExamineeOperate;
import com.hyt.it.ogt.kq.service.gov.model.param.admission.ExamineeTicketViewPageParam;
import com.hyt.model.PageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 准考证考生操作表 Mapper 接口
 * </p>
 *
 * @author yanghuankun@talkweb.com.cn
 * @since 2023-01-10
 */
public interface ExamineeOperateMapper extends BaseMapper<ExamineeOperate> {

	/***
	 * 根据准考证id查询准考证查看下载记录列表
	 * @param admissionTicketInfoId
	 * @return
	 */
	Page<ExportTicketViewItemDTO> getExportTicketViewPage(String admissionTicketInfoId, PageParam<ExportTicketViewItemDTO> pageParam);
	
	
	/**
     * 分页查询
     *
     * @param examineeTicketViewPageParam
     * @param current
     * @param size
     * @return
     */
    List<ExportTicketViewDTO> exportQueryTicketViewListPage(@Param("param") ExamineeTicketViewPageParam examineeTicketViewPageParam, long current, long size);

}
